@import"../openscss/color";
@import"../openscss/model";
.module {
    width: 100%;
    .modulebox {
        width: 30%;
        display: inline-block;
        vertical-align: top;
        .create_new {
            background-color: #da9d77;
            box-sizing: border-box;
            padding: 15px;
            .item {
                width: 100%;
                margin: 10px 0;
                img {
                    width: 48px;
                    height: 48px;
                    cursor: pointer;
                    margin-right: 15px;
                    border-radius: 12px;
                }
                .text {
                    width: 240px;
                    padding: 3px;
                    border: 1px solid #ddd;
                    line-height: 1em;
                    border-radius: 4px;
                }
            }
        }
        .modules {
            background-color: #efefef;
            box-sizing: border-box;
            padding: 15px;
            .item {
                position: relative;
                height: 48px;
                line-height: 48px;
                padding-right: 88px;
                padding-left: 55px;
                margin: 10px 0;
                .preview_img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 48px;
                    height: 48px;
                    img {
                        width: 48px;
                        height: 48px;
                    }
                }
                .method {
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 80px;
                    height: 48px;
                    text-align: center;
                    a {
                        display: inline-block;
                        vertical-align: top;
                        width: 40px;
                        height: 48px;
                        line-height: 48px;
                        &:hover {
                            color: #da9d77;
                        }
                    }
                }
                .title {
                    width: 100%;
                    line-height: 48px;
                    font-size: 16px;
                    font-weight: bold;
                    @include Line(1);
                    cursor: pointer;
                }
            }
        }
    }
    .postbox {
        display: inline-block;
        vertical-align: top;
        width: 60%;
        margin-left: 10%;
        .posttitle {
            background-color: #da9d77;
            box-sizing: border-box;
            padding: 15px;
            .item {
                width: 100%;
                margin: 10px 0;
                .title {
                    font-size: 18px;
                    font-weight: bold;
                    line-height: 48px;
                }
                .text {
                    width: 240px;
                    padding: 3px;
                    border: 1px solid #ddd;
                    line-height: 1em;
                    border-radius: 4px;
                }
            }
        }
        .posts {
            box-sizing: border-box;
            padding: 15px;
            border: 1px solid #eee;
            border-top: none;
            .item {
                position: relative;
                height: 48px;
                padding-right: 88px;
                margin: 10px 0;
                .title {
                    font-size: 16px;
                    font-weight: bold;
                    @include Line(1);
                    line-height: 28px;
                }
                .time {
                    font-size: 13px;
                    line-height: 20px;
                    color: #aaa;
                }
                .method {
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 80px;
                    height: 48px;
                    text-align: center;
                    a {
                        display: inline-block;
                        vertical-align: top;
                        width: 40px;
                        height: 48px;
                        line-height: 48px;
                        &:hover {
                            color: #da9d77;
                        }
                    }
                }
            }
        }
    }
}
